/**
 * 
 */
package se.cirrus.base.com;

import se.cirrus.base.error.*;

/**
 * @author Winquman
 *
 */
public interface Listener extends Runnable {
	
	
	public int getStatus();
	
	
	public boolean ready();
	
	
	public void open() throws InvalidStateException, CommunicationException;
	
	
	public void close();
	
	
	public void changePort(int port) throws InvalidStateException;
	
	
	public int getPort();
	
	
}
